<#assign base=request.contextPath />
<!DOCTYPE html>
<html lang="en">
<head>
	<link rel="stylesheet" href="${base}/static/assets/css/chosen.css" />
	<#include "/commons/headImport.ftl">
</head>
<body>
	<div class="main-container" id="main-container">
		<input type="hidden" value="${base}" id="context_hidden_id"/>
		<script type="text/javascript">
			try{ace.settings.check('main-container' , 'fixed')}catch(e){}
		</script>

		<div class="main-container-inner">
			<div class="main-content">
				<div class="page-content">
				
					<form class="form-horizontal" name="formName" method="post">
					<div class="row">
						<div class="col-xs-12">
							<table class="table table-striped table-bordered">
								<thead>
									<tr>
										<th class="center" width="5%">#</th>
										<th width="15%">收款日期</th>
										<th width="10%">收款金额</th>
										<th width="15%">收款人</th>
										<th width="12%">收款方式</th>
										<th width="21%">创建时间</th>
										<th width="12%">创建人</th>
									</tr>
								</thead>

								<tbody>
									<#if list??>
									<#list list as pay>
									<tr>
										<td class="center">${pay_index+1}</td>
										<td>${pay.receivablesDate?string("yyyy-MM-dd")!'--'}</td>
										<td>${((pay.amount/100)?string.currency)!0.0}</td>
										<td>${(pay.fullName)!'--'}</td>
										<td>${(payMap['${pay.methodCode}'])!'--'}</td>
										<td>${pay.gmtCreate?string("yyyy/MM/dd HH:mm")!'--'}</td>
										<td>${pay.createdBy!''}</td>
									</tr>
									</#list>
									</#if>
									<#if !list?? ||((list)?size==0)>
										<tr>
											<td colspan="18" class="center">没有查询任何数据</td>
										</tr>
									</#if>
								</tbody>
							</table>
							
							<div class="clearfix">
								<label class="col-sm-2 control-label no-padding-right"></label>
								<div class="col-md-offset-3 col-md-9">
									<button class="btn btn-xs" type="reset" id="return_id">
										<i class="icon-reply bigger-110"></i>关闭
									</button>
								</div>
							</div>
							
						</div><!-- /.col -->
					</div><!-- /.row -->
				</form>
				
			</div><!-- /.page-content -->
		</div><!-- /.main-content -->
	</div><!-- /.main-container-inner -->
</div><!-- /.main-container -->
	
<#include "/commons/footJs.ftl">
<script src="${base}/static/layer/layer.js"></script>
<script type="text/javascript">
	jQuery(function($) {
		var index = parent.layer.getFrameIndex(window.name); //获取窗口索引
	   	$("#return_id").click(function(){
			parent.layer.close(index);
	   	});
	});
</script>
</body>
</html>
